package com.cloud.service;

import com.cloud.dto.TeamDto;
import com.cloud.dto.UserDto;

import java.util.List;

public interface TeamService {
    //创建团队
    TeamDto addTeam(TeamDto teamDto);
    //获取成员
    List<UserDto> getMyMember(Integer teamId);
    TeamDto getTeamById(Integer teamId);
    TeamDto getTeamByName(String teamName);
//    List<TeamDto> addLeader_name(List<TeamDto> teamDtoList);
    List<TeamDto> getAllTeam();
}
